package qq.tool;

import catcode.CatCodeUtil;
import love.forte.simbot.api.message.events.GroupMsg;

public class AtTool {
    public static String getAt(GroupMsg groupMsg){
        long id = Long.parseLong(groupMsg.toString().split("=")[5].split(",")[0]);
        CatCodeUtil catCodeUtil = CatCodeUtil.INSTANCE;
        String at = catCodeUtil.toCat("at","code="+id);
        return at;

    }

}
